package com.langfeiyes.pattern.decorator;

//土晶石装饰器
public class SoilCrystalDecorator extends CrystalDecorator{
    public SoilCrystalDecorator(ISword sword) {
        super(sword);
    }

    @Override
    public String desc() {
        return super.desc() + " 融入土晶石，攻击+10";
    }

    @Override
    public int attackValue() {
        return super.attackValue() + 10;
    }
}
